<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="bean.entity.*,bean.dal.*" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <head>
<%
	String clerkid = (String) session.getAttribute("clerkid");
	if(clerkid==null) {%><script type="text/javascript" >
		window.alert("您还没有登录，请先登录！");
			window.location.href="<%=basePath%>clerklogin.jsp";
	</script>
	<%clerkid="";}
	String clerkname="";
	ClerkManager clerkM=new ClerkManager();
	clerkname=clerkM.getClerkByClerkId(clerkid).getClerkname();
%>
    <base href="<%=basePath%>">
    <title>配送员首页</title>
	<link rel="stylesheet" type="text/css" href="css/style2.css">
	<link rel="stylesheet" type="text/css" href="css/top.css">
	<link rel="stylesheet" type="text/css" href="css/register.css">
	<link rel="stylesheet" type="text/css" href="css/iconfont.css">
	<script type="text/javascript" >
		function placeorder(){
			window.location.href="<%=basePath%>clerk/receive.jsp";
		}
		function order(){
			window.location.href="<%=basePath%>clerk/order.jsp";
		}
		function information(){
			window.location.href="<%=basePath%>clerk/information.jsp";
		}
	</script>
  </head>
  
  <body>
	<div class="ui_top">
		<div align="right">
			<%=clerkname %>您好，欢迎使用！
			<a href="./logout.jsp">&nbsp;|&nbsp;退出&nbsp;|&nbsp;</a>
		</div>
	</div>
